{% load static %}
{% load render_bundle from webpack_loader %}

<script>
    window.imageUploadUrl = "{{ settings.MEDIA_UPLOAD_URL }}";
    window.imageUploadCode = "{{ settings.MEDIA_UPLOAD_CODE }}";
</script>
{% render_bundle "main" "js" %}
